速報APP / 教育 / Crypto Algorithm Yin Yang

Crypto Algorithm Yin Yang

價格:免費

更新日期:2017-05-08

檔案大小:4.7M

目前版本:1.1

版本需求:Android 2.3 以上版本

官方網站:http://cryptoyinyang.blogspot.com

Email:srdjan.janjin@gmail.com

Crypto Algorithm Yin Yang(圖1)-速報App

Use this simple tool to encrypt and decrypt short binary message. 'Crypto Algorithm Yin Yang' is a simple encryption algorithm example.

Test your cryptanalysis skills. Analyse it.

Try to break the code.

Enter binary message in upper box and get encrypted text - random numbers in box below.

Length of the encrypted text is not fixed.

Max number of characters in encrypted text is limited to 1000, if result is longer, it is truncated.

Enter encrypted text in box below and tap on 'decrypt' to get original binary message.

Crypto Algorithm Yin Yang(圖2)-速報App

How it works?

There is a list of digits 0-9 that is used as cyclic cipher C which is secret.

Random numbers (0-9) are generated and added to ciphered text until we get one which is equal to first digit from C.

It starts from left and take first binary digit.

If it’s 0, random numbers (0-9) are generated (and memorized) until we get odd number. Now odd number is added to ciphered text and then all other generated and memorized numbers.

If it’s 1, random numbers (0-9) are generated (and memorized) until we get even number. Now even number is added to ciphered text and then all other generated and memorized numbers.

The process repeats for all binary digits, while next cipher digit is taken in each iteration cyclically.

What we get as ciphered text is a lot of random numbers – noise.

Combined with some of steganography methods it can hide our message in an image or a sound as background noise for example.